package com.yuyou.fn.tms.vo;

import io.swagger.annotations.ApiModel;

import java.util.List;

@ApiModel("分页对象")
public class PageQueryResult<T> {

    private long total ;

    private List<T> list ;

    public PageQueryResult(long total, List<T> list) {
        this.total = total;
        this.list = list;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
